<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        const obj1 = {
            name: 'zs',
            age: 18,
            show: function () {
                console.log(this)
            }
        }
        function fn() {
            console.log(this)
        }
        fn()
        fn.call(null)
        console.log('--------------------------------')
        obj1.show()
        console.log('--------------------------------')
    </script>
</body>

</html>